package com.hf.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Select;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.hf.entity.Track;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author eight
 * @since 2021-06-06
 */
public interface TrackMapper extends BaseMapper<Track> {
	
	@Select("select * from track,customer where track.cus_id=customer.id and track.cus_id=#{cusId}")
	public List<Track> getList(Integer cusId);
} 
